//2009/08/14 01:14:55
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <sstream>
#include <algorithm>

using namespace std;

class grafixClick
{
public:
    vector <int> checkSaveButton(vector <int> mouseRows, vector <int> mouseCols)
    {
		vector<int> ret;
		for(int i=0; i<mouseRows.size(); i++)
		{
			if(mouseRows[i] >= 20 && mouseRows[i] <=39 && mouseCols[i] >= 50 && mouseCols[i] <= 99)
			{
				ret.push_back(i);
			}
		}
		return ret;
    }
};
